<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body style="font-size: small;">
<center>
	<table border="0" width="530">
		<tr>
			<th width="20%">지역명</th>
			<th width="40%">
				<form action="/ssteam/addrbook/zc_list.team" method="post">
					<input type="text" name="dong" size="15">
					<input type="submit" value="검색">
				</form>
			</th>
			<th width="40%">예) 역삼동, 화도읍, 장유면</th>
		</tr>
	</table>
	<table id="zctable" border="0" width="530">
		<tr bgcolor="#F3F3F3">
			<th width="15%">우편번호</th>
			<th width="15%">시도</th>
			<th width="15%">구군</th>
			<th width="30%">동</th>
			<th width="20%">번지</th>
		</tr>
		<s:iterator value="zclist">
		<tr>
			<td>				
				<a href="zc_ok.jsp?zcaddr='${sido } ${gugun } ${dong }'">
				${zipcode }</a>				
			</td>
			<td>${sido }</td>
			<td>${gugun }</td>
			<td>${dong }</td>
			<td>${bunji }</td>
		</tr>
		</s:iterator>
	</table>
</center>
</body>
</html>